package ${groupId}.restful.struts2;

import javax.ws.rs.*;

@Path("/resource")
public class ResourceAction {

  private String id;

  public void setId(String id) {
    this.id = id;
  }

  @GET
  @Path("{id:.*}")
  public String findResourceById() {
    return "success";
  }

  public String getId() {
    return id;
  }
}

